package com.chianghao.rock.system.entity;

import com.chianghao.core.db.annotation.Entity;
import com.chianghao.core.db.annotation.Property;

@Entity(title="字段值",prefix = "sys")
public class DictionaryValue {

	
	@Property(title="主键" ,primary = true)
	private Long id;
	    

    @Property(title="父主键")
    private String dictionaryCode;
    
    @Property(title="值",remark = "dictionaryCode下不可重复")
    private Integer value;

    @Property(title="名称")
    private String name;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

    public String getDictionaryCode() {
		return dictionaryCode;
	}

	public void setDictionaryCode(String dictionaryCode) {
		this.dictionaryCode = dictionaryCode;
	}

	public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }
}
